Update dependency lit to v3.3.1 #2531
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.0
->3.3.1
Release Notes
lit/lit (lit)
v3.3.1
Compare Source
Patch Changes
#4997
aea85e24
- Update README#4988
6792b7ef
Thanks @ADNolan! - Adjusted the comparison to use the name property of the _$resolve function and the resolveOverrideFn in private ssr support to prevent duplicated patching of the directive class.#4976
a126d8df
- Fix minor regression in property converters. fromAttribute may return either null or undefined.v3.3.0
Compare Source
Minor Changes
#4901
c9160405
Thanks @maxpatiiuk! - Dev mode warnings are now emitted on the next microtask after package import, allowing for a wider opportunity to suppress the warnings by consumers.#4934
4824c4ce
- Adds property option foruseDefault
. When set, the initial default value is not considered a change and does not reflect whenreflect
is set. In addition, when the attribute is removed, the default value is restored.Patch Changes
#4949
3e2f87f6
- fixes inconsistent initial changed properties values#4956
0a9bc720
Thanks @louis-bompart! - Import barrels explicitly for compatibility with modern Node resolution w/ ESMUpdated dependencies [
c9160405
,3e2f87f6
,4824c4ce
,0a9bc720
]:v3.2.1
Compare Source
Patch Changes
99703a03
- Revert the Terser plugin for Rollup torollup-plugin-terser
from@rollup/plugin-terser
due to a bug that prevented our minified name prefixing from working.
v3.2.0
Compare Source
Minor Changes
feccc1ba
- Add MathML support with themathml
template tagPatch Changes
feccc1ba
]:v3.1.4
Compare Source
Patch Changes
abf30b3e
- The value provided by theref()
directive will always beundefined
when the element is disconnected.v3.1.3
Compare Source
Patch Changes
bd881370
- Fix the lit-html marker length to be consistently 9 characters.v3.1.2
Compare Source
Patch Changes
#4523
1a32b61e
- Add a DEV_MODE error to catch duplicate attribute bindings that otherwise create silent errors.#4485
57b00630
- Add "browser" export condition entrypoints to any package.json files with "node"export conditions. This fixes Node test runners emulating browser environments that were incorrectly loading the
"node" entrypoints instead of the browser code.
Updated dependencies [
1a32b61e
,57b00630
,dca963f7
]:v3.1.1
Compare Source
Patch Changes
#4409
1af7991c
- asyncReplace correctly re-renders when value is unchanged (#4408)#4473
9a4d569f
- Add a warning in dev mode when binding this.requestUpdate directly as an event listener.#4413
f60a3a2c
- Remove unused internal parameters torequestUpdate()
v3.1.0
Compare Source
Minor Changes
949a5467
- Adds two new types: UncompiledTemplateResult and MaybeCompiledTemplateResult. Currently UncompiledTemplateResult is the same as TemplateResult, and MaybeCompiledTemplateResult is the union of the compiled and uncompiled types.Patch Changes
#4387
bf551b5b
- EnsurerenderRoot
exists before first update (#4268)#4282
c7922a0c
Thanks @MaxArt2501! - Fix a bug where accessing a@query
decorated field with thecache
flag set before the first update would result innull
being cached permanently.null
will no longer be cached before the first update and inDEV_MODE
now raises a warning.#4388
839ca0f8
- Fixes bug where adding or removing controllers during a reactive controller lifecycle would affect the execution of other controllers (#4266). Controllers can now be added/removed during lifecycle without affecting others.Updated dependencies [
949a5467
]:v3.0.2
Compare Source
Patch Changes
02b8d620
- Add a dev mode warning if a static value such asliteral
orunsafeStatic
is detected within the non-statichtml
tag function. These should only be used with the statichtml
tag function imported fromlit-html/static.js
orlit/static-html.js
.v3.0.1
Compare Source
Patch Changes
#4240
edf998c9
Thanks @remziatay! - Improved the type inferece of thechoose()
directive to properly restrict the case type inferred from provided value. Note: If this change creates a type error in your code, there must have been an unreachable case that can be removed, or the type of yourvalue
might be missing a valid case in the union.#4310
8f674ab3
Thanks @megheaiulian! - Thewhen()
directive now calls the case functions with the provided condition value as an argument. This allows the narrowing of types for the condition value based on its truthiness when used as a parameter for the case function.#4284
89a5b088
- Allownull
to be in the type of@query()
decorated fieldsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.